﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IOperation
{
    public interface Ioperation
    {
        /// <summary>
        /// 操作符的名称
        /// </summary>
        string Name { get; set; }

        /// <summary>
        /// 左操作数
        /// </summary>
        int NumberLeft { get; set; }

        /// <summary>
        /// 右操作数
        /// </summary>
        int NumberRight { get; set; }

        /// <summary>
        /// 获取计算结果
        /// </summary>
        /// <returns></returns>
        double GetResult();
    }
}
